package com.woniuxy.prescription.service;

import com.woniuxy.commons.entity.Prescription;
import com.woniuxy.commons.utils.ResponseResult;

/**
 * @author Waves
 * @date 2022/6/8 14:03
 */
public interface PrescriptionService {
    ResponseResult findAll(int currentPage, int pageSize);
    ResponseResult findByStatus(int currentPage, int pageSize,int keyPath);
    ResponseResult batchDelete(int[] ids);
    ResponseResult addOne(Prescription prescription);
    ResponseResult updateOne(Prescription prescription);
    ResponseResult deleteOne(int id);
    ResponseResult findByContext(Prescription prescription);
    ResponseResult findMedicineIdsByPid(int id);
    ResponseResult findMedicine_Medicine(int[] ids);
    ResponseResult findById(int id);
}
